package com.fyi.mapper;

import com.fyi.entity.Article;
import com.fyi.entity.ArticleType;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ArticleTypeMapper {

    /**
     * 类型查询
     */
    List<ArticleType> selectAllType();

    ArticleType selectByTypeId(Integer id);
}
